package demo.utils;

import org.mybatis.generator.api.ProgressCallback;

public class WriteCallBack implements ProgressCallback {
    public void introspectionStarted(int i) {
        System.out.println("mybatis introspectionStarted " + i);
    }

    public void generationStarted(int i) {
        System.out.println("mybatis generationStarted " + i);
    }

    public void saveStarted(int i) {
        System.out.println("mybatis saveStarted " + i);
    }

    public void startTask(String s) {
        System.err.println(s);
    }

    public void done() {
        System.out.println("mybatis done");
    }

    public void checkCancel() throws InterruptedException {

    }
}
